package com.gxa.saas.admin.mapper;

import com.gxa.saas.core.entity.vo.OrderVO;
import com.gxa.saas.core.entity.vo.UsersVO;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author cowboy
 * @Date 2022/7/19 16:43
 * @Version 1.0
 */
@Mapper
public interface UserMapper {
    public List<UsersVO> QueryUser();

    public OrderVO QueryOrder(Integer id);

    public List<UsersVO> QueryUserByCondition(String keyword, LocalDateTime time);

    public OrderVO QueryOrderByCondition(String keyword, LocalDateTime time);

    public void UpdateUser(Integer id, Integer status);

    public void DeleteUser(Integer id);
}
